home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / MBLIB10.ZIP;1 / CPPEXAMP.ZIP / MSGTXT.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-02  |  415 b   |  31 lines

  1. #include <stddef.h>
  2.  
  3. #include "msgtxt.hpp"
  4.  
  5. /*=========================================================================*/
  6.  
  7. void MsgTxt::Init (char *_txt)
  8.  
  9. {
  10.     txt = txt_new (_txt);
  11.     Kludges = NOKLUDGES;
  12. }
  13.  
  14. void MsgTxt::operator << (char *_txt)
  15.  
  16. {
  17.     txt_add (txt, _txt);
  18. }
  19.  
  20. void MsgTxt::KludgesOn (void)
  21.  
  22. {
  23.     Kludges = KLUDGES;
  24. }
  25.  
  26. void MsgTxt::KludgesOff (void)
  27.  
  28. {
  29.     Kludges = NOKLUDGES;
  30. }
  31.